<?php // Do not delete these lines
	if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
		die (__('Please do not load this page directly. Thanks!','eyebo'));

	if (!empty($post->post_password)) { // if there's a password
		if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) {  // and it doesn't match the cookie
			?>
<p class="information"><?php _e('This post is password protected. Enter the password to view comments.', 'eyebo'); ?><p>
  <?php
			return;
		}
	}
	/* This variable is for alternating comment background */
	$oddcomment = 'alt';
?>
  <!-- You can start editing here. -->
  <?php if ($comments) : ?>
<div class="comment-title"><?php comments_number(__('Comments (Be the First)','eyebo'), __('Comments (1 Comment)','eyebo'), __('Comments (%)','eyebo'));?><?php printf(__(' to &#8220;%s&#8221;', 'eyebo'), the_title('', '', false)); ?></div>
<!--comment list-->

<?php if ( ! empty($comments_by_type['comment']) ) : ?>
<ul class="commentlist">
<?php wp_list_comments(array ('type' => 'comment','callback' => 'custom_comments')); ?>
</ul>
<?php endif; ?>

<!--navigation-->
<?php
	if (get_option('page_comments')) {
		$comment_pages = paginate_comments_links('echo=0&prev_text=' . __('Older Comments','eyebo') . '&next_text=' . __('Newer Comments','eyebo'));
		if ($comment_pages) {
?>
	<div class="navigation">
		<?php echo $comment_pages; ?>
	</div>
<?php
		}
	}
?>
<?php else : // this is displayed if there are no comments so far ?>
<?php if ('open' == $post->comment_status) : ?>
<!-- If comments are open, but there are no comments. -->
<?php else : // comments are closed ?>
<!-- If comments are closed. -->
<p class="information"><?php _e('Comments closed', 'eyebo'); ?></p>
<?php endif; ?>
<?php endif; ?>
<?php if ('open' == $post->comment_status) : ?>
  <?php if ( get_option('comment_registration') && !$user_ID ) : ?>
  <p class="information"><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.', 'eyebo'), get_option('siteurl') . '/wp-login.php?redirect_to=' . urlencode(get_permalink())); ?></p>
<?php else : ?>
<div id="respond">
<div class="greybox">
<h2><?php comment_form_title( __('Leave a Reply', 'eyebo'), __('Leave a Reply for %s' , 'eyebo') ); ?></h2>
<div id="cancel-comment-reply"><small><?php cancel_comment_reply_link() ?></small></div> 
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
  <?php if ( $user_ID ) : ?>
<p><?php printf(__('Logged in as <a href="%1$s">%2$s</a>.', 'eyebo'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity); ?> <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php _e('Log out of this account', 'eyebo'); ?>"><?php _e('Log out &raquo;', 'eyebo'); ?></a></p>
  <?php else : ?>
  <?php $comment_gender=substr($comment_author,-7); ?>
<p><input name="gender" type="radio" value="9786;"<?php if($comment_gender=='&#9786;'||$comment_gender==''){ ?> checked="checked"<?php }?>/><label for="gender"><small><?php _e('Mystery', 'eyebo'); ?></small></label><input name="gender" type="radio" value="9794;"<?php if($comment_gender=='&#9794;'){ ?> checked="checked"<?php }?>/><label for="gender"><small><?php _e('Male', 'eyebo'); ?></small></label><input name="gender" type="radio" value="9792;" <?php if($comment_gender=='&#9792;'){ ?> checked="checked"<?php }?>/><label for="gender"><small><?php _e('Female', 'eyebo'); ?></small></label></p>
  <p><input type="text" name="authoronly" id="authoronly" value="<?php echo rtrim(rtrim(rtrim($comment_author,'&#9786;'),'&#9792;'),'&#9794;'); ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?>  onblur="addgender()"/>
<input name="author" type="hidden" id="author"/>
  <script>
function addgender(){
function GetRadioValue(RadioName){
    var obj;    
    obj=document.getElementsByName(RadioName);
    if(obj!=null){
        var i;
        for(i=0;i<obj.length;i++){
            if(obj[i].checked){
                return obj[i].value;            
            }
        }
    }
}
var author=document.getElementById("author");  
var gender = GetRadioValue("gender");
var authoronly=document.getElementById("authoronly").value;
if(authoronly!=""){
author.value=authoronly+'&#'+gender;
}
}
</script>
<label for="authoronly"><small><?php _e('Name', 'eyebo'); ?> <?php if ($req) _e("(required)", "eyebo"); ?></small></label></p>
<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?>  onblur="addgender()"/>
<label for="email"><small><?php _e('Mail (will not be published)', 'eyebo'); ?> <?php if ($req) _e("(required)", "eyebo"); ?></small></label></p>
<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
<label for="url"><small><?php _e('Website', 'eyebo'); ?></small></label></p>
  <?php endif; ?>
<!--<p><small><?php printf(__('<strong>XHTML:</strong> You can use these tags: <code>%s</code>', 'eyebo'), allowed_tags()); ?></small></p>-->
<p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4" onblur="addgender()"></textarea></p>
<p><?php if ( function_exists(cs_print_smilies) ) {cs_print_smilies();} ?></p>
<p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php _e('Submit Comment', 'eyebo'); ?>" />
<?php comment_id_fields(); ?> 
</p>
<?php do_action('comment_form', $post->ID); ?>
</form>
</div></div>
<?php endif; // If registration required and not logged in ?>
<!--ping list-->
<?php if ( ! empty($comments_by_type['pings']) ) : ?>
<ul class="pinglist"><h2 id="pingback"><?php _e('Trackbacks/Pingbacks', 'eyebo'); ?></h2>
<?php wp_list_comments(array ('type' => 'pings','callback' => 'custom_pings')); ?>
</ul>
<?php endif; ?>
<?php endif; // if you delete this the sky will fall on your head ?>